﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfUMLTry1.Model.Fight.Skills
{
    class StunningSkills : BasicSkill
    {
        private Int32 _stunTime;

        public Int32 stunTime { get { return _stunTime; } set { _stunTime = value; } }
        public override Boolean activate(AbstractCreature user, AbstractCreature target)
        {
            if (base.activate(user, target))
            {
                target.attackDelay += stunTime;
                return true;
            }
            return false;
        }
    }
}
